package com.bite.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication(scanBasePackages = {
        "com.bite.gateway",
        "com.bite.common.core.**",
        "com.bite.common.redis.**"
}, exclude = {DataSourceAutoConfiguration.class})
//exclude是因为引入了oj-common-core包，这里面引入了MybatisPlus，而网关不需要配置数据库信息，所以忽略
public class OjGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(OjGatewayApplication.class, args);
    }
}
